﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/adm/Pagina.Master" CodeBehind="FornecedorLista.aspx.vb" Inherits="sonicERPinterface.FornecedorLista" 
    title="Lista de Fornecedores" %>
    <%@ Register TagPrefix="obout" Namespace="OboutInc.Calendar2" Assembly="obout_Calendar2_Net" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <div id="divcadastro">

      <span id="divgrid">
     <br />
    <center><asp:label id="lbl1"  style="background-color:#ededed"  Text="Lista de Fornecedores" runat="server" ></asp:label>
             
                <asp:Panel ID="pnl1" runat="server" Height="51px" Visible="false" BorderColor="Blue" BorderStyle="Solid"> 
             
             <asp:Image ID="img3" runat="server" Height="48px" ImageAlign="Baseline" 
                 ImageUrl="~/img/warning_blue.png" style="text-align: left" Width="61px" />
             &nbsp;<asp:Label ID="lblerro" 
         runat="server" ForeColor="Red" style="text-align: center"></asp:Label>
     </asp:Panel>
           
          
         <br />
           
          
<asp:ImageButton ID="ImageButton1" runat="server" 
           ImageUrl="~/img/comment_add.png" />
           <br />  
           <label style="color: #AAAAFF">
         &nbsp;&nbsp;
         New&nbsp; </label>
         <br /> 
      &nbsp;
      
      <asp:gridview id="gvList" 
              allowpaging="True"
              onrowcommand="gvList_RowCommand"
               
              runat="server" ForeColor="#333333" GridLines="Vertical" 
            PageSize="6" Height="16px" style="margin-left: 5px" 
           AutoGenerateColumns="False" HorizontalAlign="Center" Font-Size="Small">
           <HeaderStyle CssClass="th" />
              <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            
              <columns>
              
                <asp:buttonfield buttontype="Image" 
                  commandname="Editar" 
                
                  text="Editar" HeaderText="Editar" ImageUrl="~/img/comment_edit.png"/>
               <asp:BoundField  DataField="Codigo" HeaderText ="Codigo" HtmlEncode="false"  />
                <asp:BoundField DataField="Nome Fornecedor"  HeaderText ="Nome <br/> do Fornecedor" HtmlEncode="false"  />
               <asp:BoundField  DataField="Fornecedor      do Tipo"  HeaderText ="Fornecedor do <br/> Tipo" HtmlEncode="false"  />
                <asp:BoundField  DataField="E-mail"  HeaderText ="E-mail" HtmlEncode="false"  />
                <asp:BoundField DataField="Data   do Cadastro"    HeaderText ="Data <br/> do <br/> Cadastro" HtmlEncode="false"  />
               <asp:BoundField DataField="Contato" HeaderText ="Contato" HtmlEncode="false"  />
               <asp:BoundField DataField="Telefone"  HeaderText ="Telefone" HtmlEncode="false"  />
                <asp:BoundField DataField="Celular"  HeaderText ="Celular" HtmlEncode="false"  />


           </columns>
                 <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
              <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
              <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
              <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
              <EditRowStyle BackColor="#999999" />
              <AlternatingRowStyle BackColor="White" ForeColor="#284775" />

            </asp:gridview>
            
            </span>            
   <div id="filtro" >
   <center><asp:label id="Label1" style="background-color:#ededed" Text="Filtros" runat="server"></asp:label></center>
    <br />
       <label style="color: #AAAAFF">
         Data Inicio</label>
           <br />
    
        <asp:TextBox ID="txtdataininico"  onkeyup="formataData(this,event);"  runat="server" Width="98px" MaxLength="10"></asp:TextBox>
         
        <br />
    <label style="color: #AAAAFF">&nbsp; Data Fim </label>
        <br />
    <asp:TextBox ID="txtdatafim"  onkeyup="formataData(this,event);" runat="server" Width="98px" MaxLength="10"></asp:TextBox>
        <br />
         <label style="color: #AAAAFF">
       <br />
       Fornecedor do <br /> Tipo</label>
             <br />
             <asp:DropDownList ID="ddltipofornecedor" runat="server" Height="22px" 
           Width="98px" ></asp:DropDownList>
        <br />
     <label style="color: #AAAAFF">Fornecedor</label>
         <br />
    <asp:TextBox ID="txtfornecedor" runat="server" Width="98px"></asp:TextBox>
        <br />
          <br />
           <center>      <asp:ImageButton ID="btnok" runat="server" Height="47px" 
             ImageUrl="~/img/filtro.png"  Width="57px" style="margin-left: 1px" /> </center> 
                 <center><asp:Label ID="Label2" runat="server" Text="Filtrar" style="color: #AAAAFF"></asp:Label></center>
                  <br />
                      <center><asp:ImageButton ID="btnimprimir" ImageUrl="~/img/print.png"  runat="server" /></center>
                      <center><asp:Label ID="Label3" runat="server" Text="Imprimir" style="color: #AAAAFF"></asp:Label></center>
          </div>  
          </div>
                  
   </asp:Content>
  